﻿@if(Request.IsAuthenticated) {
    <text>Welcome <strong>@User.Identity.Name</strong>!
    [ @Html.ActionLink("登出", "LogOff", "Account") ]</text>
}
else {
    @:[ @Html.ActionLink("登陆", "LogOn", "Account") ]
    @:[ @Html.ActionLink("注册", "Register", "Account") ]
}
